func go/types.isTypeParam
40 uses
go/types (current package)
builtins.go#L102: case isTypeParam(S):
builtins.go#L187: if !isTypeParam(x.typ) {
builtins.go#L329: assert(!isTypeParam(typ))
builtins.go#L449: assert(!isTypeParam(typ))
builtins.go#L951: return isTypeParam(t)
call.go#L215: if t, _ := under(T).(*Interface); t != nil && !isTypeParam(T) {
const.go#L293: if !isTypeParam(target) {
conversions.go#L56: case constArg && isTypeParam(T):
conversions.go#L164: if IdenticalIgnoreTags(under(V.base), under(T.base)) && !isTypeParam(V.base) && !isTypeParam(T.base) {
decl.go#L650: if isTypeParam(rhs) {
decl.go#L693: if isTypeParam(bound) {
expr.go#L411: if isTypeParam(target) {
expr.go#L552: if isTypeParam(x.typ) || isTypeParam(y.typ) {
expr.go#L554: if !isTypeParam(x.typ) {
expr.go#L1071: if isTypeParam(x.typ) {
gcsizes.go#L54: assert(!isTypeParam(T))
gcsizes.go#L157: assert(!isTypeParam(T))
index.go#L105: if !isTypeParam(x.typ) {
lookup.go#L78: if enableTParamFieldLookup && obj == nil && isTypeParam(T) {
lookup.go#L521: if p, _ := under(T).(*Pointer); isTypeParam(p.base) {
object.go#L526: if isTypeParam(typ) {
predicates.go#L122: return !isTypeParam(t) && IsInterface(t)
predicates.go#L126: func isTypeParam(t Type) bool {
predicates.go#L197: if dynamic && !isTypeParam(T) || t.typeSet().IsComparable(seen) {
predicates.go#L220: return !isTypeParam(t) || underIs(t, func(u Type) bool {
sizes.go#L92: assert(!isTypeParam(T))
sizes.go#L224: assert(!isTypeParam(T))
stmt.go#L742: if isTypeParam(x.typ) {
struct.go#L161: if isTypeParam(t) {
typeparam.go#L126: if isTypeParam(bound) {
typeset.go#L273: assert(!isTypeParam(typ))
typeset.go#L389: assert(!isTypeParam(t.typ))
typexpr.go#L167: if isTypeParam(typ) {
typexpr.go#L378: if isTypeParam(typ.key) {
under.go#L78: if !isTypeParam(t) {
unify.go#L348: assert(!isTypeParam(y))
unify.go#L562: if isTypeParam(y) {
union.go#L152: if isTypeParam(typ) {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)